package com.pos.clothes.service;

import com.github.pagehelper.PageInfo;
import com.pos.clothes.pojo.Clothes;
import com.pos.clothes.pojo.Norms;

import java.util.List;


public interface NormsService {
    public PageInfo getNorms(int pageNum, int pageSize) throws Exception;
    public PageInfo searchNorms(Norms norms,int pageNum, int pageSize) throws Exception;
    public Integer deleteNorms(Integer id);
    public Integer insertNorms(Norms norms,Clothes clothes);
    public boolean isSimilar(Norms norms);
    public Integer updateNorms(Norms norms);
    public List<Norms> isSingleCode(String code);
    public List<Integer> count_searcNorm(List<Integer> idnorms);
    public Integer count_updateNorms(Norms norms);
    public Integer count_getNormsRemain(Norms norms);
}
